package liangtWorkSpace.vaild;

/**
 * @ClassName ResultEnum
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/6/2 20:09
 */
public enum ResultEnum {
    SUCCESS(1,"成功"),
    ERR_PARAM(1,"成功"),
    PARAM_ERROR(1,"成功");

    public int code;
    public String value;

    ResultEnum(int code, String msg) {
        this.code = code;
        this.value = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
